USE [LAFDC]
GO
/****** Object:  StoredProcedure [dbo].[spGetADRESSE_byPrevID]    Script Date: 11/23/2009 23:00:09 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Ludovic FERRE
-- Create date: 2007-08-31
-- Description:	Retreiev adresse by previd
-- =============================================
CREATE PROCEDURE [dbo].[spGetADRESSE_byPrevID]
	-- Add the parameters for the stored procedure here
	@PREV_ID nvarchar(255)
AS
BEGIN
	SET NOCOUNT ON;

		select ADRESSE_1, ADRESSE_2, CODEPOSTAL, VILLE
		  from adresse
		 where prev_id = @PREV_ID

END
